package com.yy.pojo.base;

import java.io.Serializable;

/**
 * t_role
 */
public class TRole implements Serializable {
    /**
     * 主键
     * <p>
     * t_role.id
     */
    private String id;

    /**
     * 名称
     * <p>
     * t_role.name
     */
    private String name;

    /**
     * 顺序
     * <p>
     * t_role.seq
     */
    private Integer seq;

    /**
     * 角色描述
     * <p>
     * t_role.remark
     */
    private String remark;

    /**
     * 认证编码例如 admin
     * <p>
     * t_role.authentication
     */
    private String authentication;

    /**
     * 所包含权限的字符串
     */
    private String includepermissions;

    /**
     * 如果大于1，表示用户拥有权限
     */
    private Integer owns;

    /**
     * 主键
     * t_role.id
     *
     * @return t_role.id
     */
    public String getId() {
        return id;
    }

    /**
     * 主键
     * t_role.id
     *
     * @param id t_role.id
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * 名称
     * t_role.name
     *
     * @return t_role.name
     */
    public String getName() {
        return name;
    }

    /**
     * 名称
     * t_role.name
     *
     * @param name t_role.name
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 顺序
     * t_role.seq
     *
     * @return t_role.seq
     */
    public Integer getSeq() {
        return seq;
    }

    /**
     * 顺序
     * t_role.seq
     *
     * @param seq t_role.seq
     */
    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    /**
     * 角色描述
     * t_role.remark
     *
     * @return t_role.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 角色描述
     * t_role.remark
     *
     * @param remark t_role.remark
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 认证编码例如 admin
     * t_role.authentication
     *
     * @return t_role.authentication
     */
    public String getAuthentication() {
        return authentication;
    }

    /**
     * 认证编码例如 admin
     * t_role.authentication
     *
     * @param authentication t_role.authentication
     */
    public void setAuthentication(String authentication) {
        this.authentication = authentication == null ? null : authentication.trim();
    }

    public String getIncludepermissions() {
        return includepermissions;
    }

    public void setIncludepermissions(String includepermissions) {
        this.includepermissions = includepermissions;
    }

    public Integer getOwns() {
        return owns;
    }

    public void setOwns(Integer owns) {
        this.owns = owns;
    }
}